package demon1;

public class Test {
    public static void main(String[] args) {
        MyThread myThread=new MyThread();
        MyThread myThread2=new MyThread();
        myThread.setName("线程1 ");
        myThread2.setName("线程2 ");
        myThread.start();
        myThread2.start();
    }
}
